package com.util;

import java.text.DecimalFormat;

public final class MathUtil {
	protected final static DecimalFormat TWO = new DecimalFormat("0.00");

	protected final static DecimalFormat ONE = new DecimalFormat("0.0");

	public static double operationDouble(double value) {
		return Double.parseDouble(ONE.format(value));
	}

}
